package cn.wyf.androidcode.view;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import cn.wyf.androidcode.R;
import cn.wyf.androidcode.application.BaseActivity;

public class SecondActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        findViewById(R.id.click).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(SecondActivity.this,DrawerActivity.class));
            }
        });
    }

    @Override
    protected void setLayout() {
        setContentView(R.layout.activity_second);
    }
}
